Repository navigation
Support OpenBW client on macOS (including M series) - #108
Merged
Merged
Conversation
JasperGeurtz
force-pushed
the
macos-openbw-support
branch
from
November 7, 2026 08:13
c40ff0e to
68f9514
Compare
JasperGeurtz
force-pushed
the
macos-openbw-support
branch
5 times, most recently
from
November 7, 2026 10:25
e49d115 to
e4b4eb4
Compare
JasperGeurtz
force-pushed
the
macos-openbw-support
branch
from
November 7, 2026 11:00
e4b4eb4 to
8e6f24f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes POSIX shared memory and UNIX domain socket client connections on macOS (including Apple Silicon /
arm64) when connecting to OpenBW's BWAPILauncherlinux-client-supportbranch by @Bytekeeper :PosixShm.INSTANCE.shm_openingetSharedMemory():getGameTable()already usedPosixShm.INSTANCE.shm_open(which loadslibrtonly on Linux and useslibc/libSystemon macOS), whereasgetSharedMemory()still calledLibRT.INSTANCE.shm_opendirectly and failed on macOS withUnsatisfiedLinkError: Unable to load library 'rt'.shm_openfd aftermmap: Closefdin afinallyblock viaLibCExt.INSTANCE.close(fd)in bothgetGameTable()andgetSharedMemory()to prevent file descriptor leaks while polling for a game.NativeLongformmaplengthandoffset: Matches the C ABI signature on both 32 & 64-bitjunixsocketso native JNI libraries for macOS M series (aarch64-MacOSX) are included.Also add
Lightweight Linux OpenBW E2E GitHub Action (e2e-linux.yml): Replaced the disabled Docker/Wine workflow with a cached native OpenBW build (compiled with clang and lightweight MPQs from dgant/mpqs) that runs a headless 1v1 LAN match of MarineHell vs SittingDuck on (2)Destination.scx with race = Terran.
MarineHell test bot scouting fix (MarineHell.java): Excluded self.getStartLocation() from the scout target list and prevented the scout SCV from being reassigned to mine enemy minerals, stopping it from kiting SittingDuck's PlayerGuard SCVs back into MarineHell's own undefended mineral line (where OpenBW's unimplemented isUnderAttack() prevented workers from fighting back).